package com.kingmed.kmss.framework.feign.client.auth;


import com.kingmed.kmss.common.dto.api.resp.admin.TokenAuthUserVo;
import com.kingmed.kmss.common.dto.auth.CustomMessageReq;
import com.kingmed.kmss.common.exception.InternalApiException;
import com.kingmed.kmss.common.vo.CommonResponse;
import org.springframework.stereotype.Component;

@Component
public class CommonAuthFallbackService implements CommonAuthFeignService {

    /**
     */
    @Override
    public CommonResponse<?> sendOaMsg(CustomMessageReq customMessageReq) {
        throw new InternalApiException("auth service: sendOaMsg调用失败");
    }

    @Override
    public CommonResponse<TokenAuthUserVo> checkToken(String token) {
        throw new InternalApiException("auth service: checkToken调用失败");
    }


}
